import vue from 'vue'
import Router from 'vue-router'
vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      component: require('../view/Home.vue').default,
    },
    {
      path: '/login',
      component: require('../view/Login.vue').default,
    },
    {
      path: '/type',
      component: require('../view/Type.vue').default,
    },
    {
      path: '/phb',
      component: require('../view/Pai.vue').default,
    },
    {
      path: '/newbook',
      component: require('../view/Newbook.vue').default,
    },
    {
      path: '/finallybook',
      component: require('../view/Finallybook.vue').default,
    },
  ],
})
